﻿namespace FitnessTracker.Entities
{
    using System.ComponentModel.DataAnnotations;

    [MetadataType(typeof(WorkoutHeartRatePointMetaData))]
    public partial class WorkoutHeartRatePoint
    {
    }

    public class WorkoutHeartRatePointMetaData
    {
        [Range(30, 240)]
        public byte heartRate;
    }
}
